home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / DOS / UT_SYSTM / FAC175.ZIP / FAC.DOC < prev    next >
Encoding:
Text File  |  1994-11-21  |  82.3 KB  |  1,972 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                       Find Area Code (FAC), Version 1.7
  16.                    Copyright 1990-95, All Rights Reserved
  17.  
  18.                                 Developed by
  19.                             Mountain Data Systems
  20.                             850 North Lane - DGR
  21.                           Estes Park, CO 80517-9629
  22.                            CompuServe: 72737,3237
  23.  
  24.  
  25.                             _______
  26.                        ____|__     |                (R)
  27.                     --|       |    |-------------------
  28.                       |   ____|__  |  Association of
  29.                       |  |       |_|  Shareware
  30.                       |__|   o   |    Professionals
  31.                     -----|   |   |---------------------
  32.                          |___|___|    MEMBER
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.                   D I S C L A I M E R  -  A G R E E M E N T
  42.  
  43.             If you use Find Area Code (FAC), you must accept this
  44.          disclaimer of warranty:  "Find Area Code is supplied as is.
  45.          The author disclaims all warranties, expressed or implied,
  46.               including, without limitation, the warranties of
  47.          merchantability and of fitness for any purpose. The author
  48.          assumes no liability for damages, direct or consequential,
  49.               which may result from the use of Find Area Code."
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.    Find Area Code Documentation
  59.   ----------------------------
  60.  
  61.  
  62.                         F I N D   A R E A   C O D E
  63.  
  64.                          D O C U M E N T A T I O N
  65.  
  66.                              Table of Contents
  67.  
  68.                 o Introduction
  69.                 o What is Shareware?
  70.                 o The Association of Shareware Professionals (ASP)
  71.                 o Registration
  72.                 o What Do I Get for Registering, and Why Should I?
  73.                 o Installation
  74.                 o Using FAC from the DOS Command Line
  75.                 o The External Data File
  76.                 o Adding to the External Data File
  77.                 o Using FAC as a Popup TSR Program
  78.                 o What Are Swapping TSRs?
  79.                 o Advanced Options and Configuration
  80.                 o Error Conditions
  81.                 o Technical/Compatibility Notes
  82.                 o How to Reach the Author
  83.                 o Alternative Uses
  84.                 o Final Remarks
  85.                 o Quick Reference List of FAC Options
  86.  
  87.  
  88.  
  89.   Introduction
  90.   ------------
  91.  
  92.   Find Area Code (FAC) is an DOS utility which can quickly locate U.S.
  93.   and international telephone area codes or any other information you store
  94.   in its data files.  FAC performs its search using any part of an area
  95.   code, city, state, or country and shows matches almost instantly.  The
  96.   program can also do "fuzzy" searches, allowing you to use approximate,
  97.   sound-alike spellings to find matches.
  98.  
  99.   FAC uses an ASCII data file (FAC.DAT) which you can change, update, or
  100.   add to whenever you like.  There are more than 2300 United States,
  101.   Canadian, and international cities in the database.  Also, without
  102.   leaving the program, you can append data to an external data file, using
  103.   a default or file name you specify.
  104.  
  105.   You can run FAC from the DOS command line or you can make it memory
  106.   resident (also known as a popup or Terminate and Stay Resident [TSR]
  107.   program).  When you install FAC as a memory resident program, you can
  108.   choose between a small (7K RAM) swapping version with a very short (less
  109.   than 2 seconds) delay while it swaps into memory from disk, or you can
  110.   have an instantly available popup which requires more RAM.  The swapping
  111.   version can also (optionally) use Expanded Memory (EMS) for almost
  112.  
  113.   -------
  114.   Page 2
  115.  
  116.    Find Area Code Documentation
  117.   ----------------------------
  118.  
  119.  
  120.   instantaneous swapping.
  121.  
  122.   FAC displays the current date and time whenever the program is active.
  123.   The program automatically senses and supports all of the 25/43/50 line
  124.   modes used in most CGA/EGA/VGA video cards and pops up in the current
  125.   mode, using the screen most appropriately for that mode.  Also, FAC
  126.   senses the current color/monochrome mode and selects its colors
  127.   appropriately.  FAC's window can be moved around on the screen by using
  128.   the cursor keys.  You can also "zoom" FAC's window to use the full screen
  129.   or allow the program to do so whenever required.
  130.  
  131.  
  132.   What is Shareware?
  133.   ------------------
  134.  
  135.   Although you may not have paid anything to get this copy of FAC, it is
  136.   not a free program.  It is distributed on a "shareware" basis.  What's
  137.   that?
  138.  
  139.   Shareware is a form of distribution which gives users a chance to try
  140.   software before buying it. If you try a Shareware program and continue
  141.   to use it, you are expected to register.  Individual programs differ on
  142.   details -- some request registration while others require it, some
  143.   specify a maximum trial period.  With registration, you get anything
  144.   from the simple right to continue using the software to an updated
  145.   program with printed manual.
  146.  
  147.   Copyright laws apply to both Shareware and commercial software, and the
  148.   copyright holder retains all rights, with a few specific exceptions as
  149.   stated below.  Shareware authors are accomplished programmers, just like
  150.   commercial authors, and the programs are of comparable quality. (In both
  151.   cases, there are good programs and bad ones!)  The main difference is in
  152.   the method of distribution.  The author specifically grants the right to
  153.   copy and distribute the software, either to everyone, or to a specific
  154.   group.  For example, some authors require written permission before a
  155.   commercial disk vendor may copy their Shareware.
  156.  
  157.   Shareware is a distribution method, not a type of software.  You should
  158.   find software that suits your needs and pocketbook, whether it's
  159.   commercial or Shareware.  The Shareware system makes fitting your needs
  160.   easier, because you can try before you buy.  And because the overhead is
  161.   low, prices are low also.  Shareware has the ultimate money-back
  162.   guarantee -- if you don't use the product, you don't pay for it.
  163.  
  164.   Find Area Code (FAC) is a "shareware program" and is provided at no
  165.   charge to you for your evaluation.  Feel free to share it with your
  166.   friends, but please do not give it away altered or as part of another
  167.   system.  The essence of "user-supported" software is to provide personal
  168.   computer users with quality software without high prices, and yet to
  169.   provide incentive for programmers to continue to develop new products.
  170.  
  171.   -------
  172.   Page 3
  173.  
  174.    Find Area Code Documentation
  175.   ----------------------------
  176.  
  177.  
  178.  
  179.   Shareware works!  In addition to using many commercial products, I'm a
  180.   also a registered user of many high quality shareware products,
  181.   including:  PKWare's PKZIP, Vern Buerg's LIST, J.P. Software's 4DOS,
  182.   SemWare's QEdit Advanced, California Software Design's SHEZ, ECONO-SOFT's
  183.   Directory eXtended (DX), John Steed's Brother's Keeper, Joe Ahlgren's
  184.   GeoClock, and Falk Data System's Easy Format.  Please register all
  185.   shareware you continue to use.
  186.  
  187.   Please read the important information in the accompanying file,
  188.   LICENSE.DOC on the trial license for this program.  For more information
  189.   on shareware, please read the accompanying file SHR-WARE.DOC.
  190.  
  191.  
  192.   The Association of Shareware Professionals (ASP)
  193.   ------------------------------------------------
  194.  
  195.   Mountain Data Systems is a member of the Association of Shareware
  196.   Professionals (ASP).  ASP wants to make sure that the shareware principle
  197.   works for you.  If you are unable to resolve a shareware-related problem
  198.   with an ASP member by contacting the member directly, the ASP may be able
  199.   to help.  The ASP Ombudsman can help you resolve a dispute or problem
  200.   with an ASP member, but does not provide technical support for members'
  201.   products.  Please write to the ASP Ombudsman at 545 Grover Road, Muskegon
  202.   MI 49442-9427 or send a Compuserve message via CompuServe Mail to ASP
  203.   Ombudsman 70007,3536.
  204.  
  205.  
  206.   Registration
  207.   ------------
  208.  
  209.   If you find FAC useful and you continue to use it after a reasonable (45
  210.   days) trial period, you are required to make a registration payment of
  211.   $17.95 plus $2.00 shipping and handling (U.S.) to Mountain Data Systems.
  212.   The $17.95 registration fee will license one copy for use on any one
  213.   computer at any one time.  Even after registering, you have a money-back
  214.   guarantee for 45 days after purchase.
  215.  
  216.   You must treat a registered version of this software just like a book.
  217.   Just as a book cannot be read by two different persons at the same time,
  218.   this software may be used by any number of people and may be freely moved
  219.   from one computer location to another, as long as there is no possibility
  220.   of it being used in two different locations at the same time.
  221.  
  222.   Commercial users of Find Area Code (FAC) must register and pay for their
  223.   copies of the program within 45 days of first use or their license is
  224.   withdrawn.  For site-license information, see the file SITELICE.DOC.
  225.  
  226.   You are encouraged to pass (unregistered) copies of Find Area Code along
  227.   to your friends for evaluation.  Please encourage them to register their
  228.  
  229.   -------
  230.   Page 4
  231.  
  232.    Find Area Code Documentation
  233.   ----------------------------
  234.  
  235.  
  236.   copy if they find that they can use it.  All registered users will
  237.   receive a copy of the latest version of FAC when they register.
  238.  
  239.   Though the program is not "crippled" in anyway, this shareware version
  240.   shows an "Unregistered Shareware" status message in the lower right part
  241.   of the window to encourage you to register the program.  Also,
  242.   unregistered versions will give you a random (about 10% of the time),
  243.   bypassable registration reminder when you exit.  Naturally, the
  244.   registered version of the program doesn't have this.
  245.  
  246.   FAC is one of many area code finder utility programs, but I think you'll
  247.   find it is unsurpassed in speed, ease of use, convenience, and price.  As
  248.   far as I know, it is the ONLY area code finder capable of being installed
  249.   as a 7K memory resident program and searching a user-defined text file.
  250.   Please fill out the included registration order form (file REGISTER.DOC)
  251.   and send in your registration today.  You can send REGISTER.DOC to your
  252.   printer by typing:
  253.  
  254.                 "COPY REGISTER.DOC PRN"  (without the quotes)
  255.  
  256.   and then pressing ENTER while at the MS-DOS prompt.
  257.  
  258.   To order FAC by normal surface mail, print and fill out the second
  259.   page of the REGISTER.DOC file, then mail it to the author with your
  260.   check, cash, or money order.  You can register FAC by credit card through
  261.   Public (software) Library (PsL), a major shareware disk vendor.  See
  262.   REGISTER.DOC for details.  Remember, this service is for credit card
  263.   orders only--not for support or other information!
  264.  
  265.  
  266.   What Do I Get for Registering, and Why Should I?
  267.   ------------------------------------------------
  268.  
  269.   When you register, you'll receive a disk with the latest version of the
  270.   program and a utility to stamp your serial number on all future versions
  271.   of the program.  Once you have registered FAC, you are always entitled to
  272.   the latest version at anytime.
  273.  
  274.   On registration, you'll also receive a free bonus--a text data file,
  275.   suitable for use with FAC, of almost 43,000 U.S. ZIP codes, each with
  276.   state, city, and county.  By using FAC and ZIPCODES.DAT you can perform
  277.   very quick searches for ZIP code and related city, state, and county
  278.   information.  You can search by ZIP code, state (postal abbreviation),
  279.   city, or county or any part of these fields.  You can also easily get a
  280.   list of all cities named "Paris" for example, or all the "Hancock"
  281.   counties in the U.S.
  282.  
  283.   You can download the latest version from CompuServe, a BBS, or other
  284.   computer service or I'll send you the latest release for a small handling
  285.   charge.  You can either send me a SASE floppy mailer with your floppy, or
  286.  
  287.   -------
  288.   Page 5
  289.  
  290.    Find Area Code Documentation
  291.   ----------------------------
  292.  
  293.  
  294.   just send me $5.00 and I'll furnish the floppy, mailer, and postage.
  295.  
  296.   Here are some reasons why you should register:
  297.  
  298.     o You receive a CURRENT copy of the program, fresh from the author's
  299.       computer.
  300.  
  301.     o You get a LIFETIME license, meaning you're entitled to all future
  302.       versions/upgrades of FAC.
  303.  
  304.     o You get unlimited technical support via surface mail or electronic
  305.       mail.
  306.  
  307.     o You receive a FREE copy of the U.S. ZIP code data file containing
  308.       almost 43,000 ZIP codes, and each one's city, state, and county.
  309.  
  310.     o You receive a special offer for a 1 year, discounted Shareware
  311.       Magazine subscription.
  312.  
  313.     o A free CompuServe IntroPak, which includes a $15.00 usage credit, is
  314.       available to Find Area Code registered users who do not yet subscribe
  315.       to CompuServe.  CompuServe will open the door for a whole new world
  316.       of information, services, and interesting people.  CompuServe is also
  317.       the best place to obtain technical support for FAC and other
  318.       high-quality shareware and commercial products.  This CompuServe
  319.       IntroPak (a $39.95 value) is provided to FAC registered users
  320.       compliments of CompuServe, Inc., and Mountain Data Systems.
  321.  
  322.     o You have the author's ear when it comes to suggesting new features
  323.       and capabilities.  You may also be able to beta-test new versions of
  324.       the software before they are released to the general public.
  325.  
  326.     o You help increase competition in the software industry by keeping
  327.       prices low (shareware doesn't rely on expensive advertising).
  328.  
  329.     o Finally, you can be proud of the honesty and integrity you've shown
  330.       in registering the program and having participated in the Shareware
  331.       revolution.
  332.  
  333.  
  334.   Installation
  335.   ------------
  336.  
  337.   The Find Area Code distribution file is now created using PKZip's
  338.   Authenticity Verification (AV) feature.  This virtually guarantees BBSs
  339.   and users virus-free, unmodified files.  If after unzipping your
  340.   distribution files you don't see the message:
  341.  
  342.   Authentic files Verified!   # EOA070   MICHAEL K. MOLLOY
  343.  
  344.  
  345.   -------
  346.   Page 6
  347.  
  348.    Find Area Code Documentation
  349.   ----------------------------
  350.  
  351.  
  352.   you've have a modified distribution file.  Get another copy of the ZIP
  353.   file from me, CompuServe, another BBS, or another Disk Vendor.
  354.  
  355.   Once you've unzipped the distribution file, you can put Find Area Code's
  356.   files in any directory.  The FAC.EXE and FAC.DAT files can be anywhere on
  357.   the disk as long as you set a path to them with the DOS PATH statement.
  358.   Note that FAC.DAT need not be in the same directory as FAC.EXE as long
  359.   they are both on the PATH.  For example, if you put FAC's files in the
  360.   C:\UTIL directory, you would need to have a PATH statement in your
  361.   AUTOEXEC.BAT file which might look something like this:
  362.  
  363.                   PATH=C:\;C:\DOS;C:\MISC;C:\UTIL;C:\MENU
  364.  
  365.   You need at least 120K of disk space and 140K RAM to run the program from
  366.   the DOS prompt (non-TSR mode).  To use the program as a swapping TSR, you
  367.   must either have: an additional 265K of free disk space (hard disk
  368.   recommended); or 265K of expanded memory (EMS).
  369.  
  370.   Actually, FAC.EXE is the only file you must have on your path.  If you
  371.   are running FAC from the same directory where FAC.DAT resides, FAC.DAT
  372.   need not be on your PATH.
  373.  
  374.   ------------------ For Registered Users Only -------------------------
  375.  
  376.   When you register FAC, you'll receive an additional program which is
  377.   used to "stamp" a registered serial number on your copy (and all future
  378.   copies) of your program.  Stamping the serial number also removes the
  379.   "Unregistered Shareware" reminder in the lower right part of the window.
  380.  
  381.   To run this program, type "STAMP-SN" at the DOS prompt, and press
  382.   ENTER.  You'll be asked for the name of the EXE file to modify (since
  383.   FAC.EXE could be renamed to whatever you want).  If you're using
  384.   FAC.EXE, just press ENTER.  If the file is found on the PATH, it will be
  385.   stamped with a serial number identified with your registration.  Be SURE
  386.   to save your copy of STAMP-SN.EXE so you can use it with future releases
  387.   of FAC.
  388.  
  389.   If you're a user of various executable-file compression utilities like
  390.   LZEXE, PKLITE, or EXEPACK, you MUST run STAMP-SN on the unmodified
  391.   (uncompressed) original file BEFORE you use on of these utilities.  If
  392.   you try to run STAMP-SN on a compressed EXE file, you'll be unable to
  393.   stamp the serial number.  Once you've used STAMP-SN to install your
  394.   serial number, you may use these compression utilities without any
  395.   problems.
  396.  
  397.   If you are a registered user of FAC, you MAY NOT give anyone a copy of
  398.   the serial number stamped program, nor may you give anyone the
  399.   STAMP-SN.EXE program.
  400.  
  401.   With your registered disk you should have also received the bonus file,
  402.  
  403.   -------
  404.   Page 7
  405.  
  406.    Find Area Code Documentation
  407.   ----------------------------
  408.  
  409.  
  410.   "ZIPCODES.EXE", a self-extracting file containing the U.S. ZIP codes data
  411.   file for use with FAC.  To install this file, copy the ZIPCODES.EXE file
  412.   to the same directory you installed FAC, then type the command "ZIPCODES"
  413.   to uncompress the file.  This will create the ZIPCODES.DAT file, which
  414.   requires about 1700KB of disk space.  Once the file is extracted, you may
  415.   delete the ZIPCODES.EXE file (but not from your original distribution
  416.   floppy) since it isn't required to be on your hard disk.  See the
  417.   included file ZIPCODES.DOC for instructions on how to use this file with
  418.   FAC.  You may not distribute or copy ZIPCODES.DAT for others, it is for
  419.   registered users only.
  420.  
  421.   ----------------------------------------------------------------------
  422.  
  423.  
  424.   Using FAC from the DOS Command Line
  425.   -----------------------------------
  426.  
  427.   First, you must know how to invoke FAC from the DOS command line
  428.   prompt.  Type "FAC /H" (or "FAC /?" or "FAC /" or "FAC ?") then press
  429.   ENTER and you'll see a complete list of options you have for using FAC.
  430.   Don't be alarmed at all the options.  FAC is very simple to use and
  431.   really requires only one thing--a string to search for. All the options
  432.   are for more advanced use.  FAC is designed to be very easy to use
  433.   without reference to documentation or help screens.
  434.  
  435.   FAC will immediately search for area code information if you enter the
  436.   search string as a DOS parameter after the program name.  If you
  437.   wish, you can simply type "FAC" to start the program without a
  438.   parameter.  You'll be prompted for a search string once inside the
  439.   program.  For example, suppose you wanted to know the area code for
  440.   Boulder, Colorado.
  441.  
  442.   At the DOS prompt, type: "FAC boulder" (without the quotes, of course)
  443.   then press ENTER.  The program will start, a window will popup on the
  444.   screen, and the program automatically begins its search.  Almost
  445.   instantly, you'll see information about the area code for Boulder.  The
  446.   first column in the display window has the 3 digit area code 303
  447.   (international area codes aren't necessarily 3 digits).  The next column
  448.   shows the 2 character postal abbreviation for Colorado, CO.  The third
  449.   column shows the full name of the state.  The last column shows the major
  450.   cities in this particular area code.  Notice Boulder appears in this
  451.   list.  When you've finished with the program, just press Esc and you'll
  452.   exit back to DOS.
  453.  
  454.   Let's take another example.  Suppose someone leaves you a note to call
  455.   someone in a 309 area code.  You don't recognize this area code and it's
  456.   inconvenient to look up the area code in the phone book. You type "FAC
  457.   309" then press ENTER.  Almost instantly, you learn that the 309 area
  458.   code includes Peoria, Moline, and Rock Island, Illinois.
  459.  
  460.  
  461.   -------
  462.   Page 8
  463.  
  464.    Find Area Code Documentation
  465.   ----------------------------
  466.  
  467.  
  468.   Searching for an international area code is almost exactly the same.
  469.   Just type in a city name, say Paris.  The program will display the
  470.   country code in the first column, the country name in the next column,
  471.   and a list of major cities and city codes for that country in the last
  472.   column.  Each city code is listed in parentheses immediately after the
  473.   city name.  If you searched for Paris, you would know the country code
  474.   for France is 33 and the city code for Paris is 1.
  475.  
  476.   Anytime you see a city name in all CAPITAL letters, that city is a state
  477.   or country capital.
  478.  
  479.   You get the idea.  By typing "FAC X" where X is any alphanumeric string,
  480.   you can quickly search the area code database.  You can search by area
  481.   code, state postal abbreviation, state name, country, city, or any
  482.   portion of thereof.  The search string can be in any combination of upper
  483.   or lower case letters and numbers. and must be at least two characters.
  484.   If you use only two characters, the program assumes you want to search
  485.   for two-letter state postal abbreviations which appear only in the first
  486.   7 characters of each line.  The program doesn't look at anything else on
  487.   the line except these first 7 characters.  Note: this restriction does
  488.   not apply to the data in the external data file (see the section below on
  489.   The External Data File).
  490.  
  491.   After you've performed a search, the last string searched for is shown
  492.   after the prompt.  To enter a new string, just start typing it in (the
  493.   old string will go away when you press the first character). You can also
  494.   edit the existing string by using the following keys:
  495.  
  496.       Left Arrow       - Cursor left one character
  497.       Right Arrow      - Cursor right one character
  498.       Ctrl-Left Arrow  - Cursor left one word
  499.       Ctrl-Right Arrow - Cursor right one word
  500.       Home             - Cursor to the beginning of the string
  501.       End              - Cursor to the end of the string
  502.       Del              - Delete the character under the cursor
  503.       BkSp             - Delete the character the left of the cursor
  504.       Ctrl-Y           - Delete the entire string
  505.       Ctrl-End         - Delete from the cursor to the end of the string
  506.       Ctrl-Home        - Delete from start of line to the cursor
  507.       Ctrl-T           - Delete word to the right of the cursor
  508.       Ins              - Toggle between Overwrite and Insert mode
  509.       Ctrl-R           - Restore the original contents of the line
  510.       ENTER            - Start searching for the specified string
  511.  
  512.   Search strings are limited to 20 characters.  Spaces entered at the
  513.   beginning and end of the search string are ignored (and discarded), but
  514.   spaces anywhere else in the string are valid.  This means you could
  515.   search for "San Francisco" but not for " San Francisco ".
  516.  
  517.   You can make any number of searches before exiting the program.
  518.  
  519.   -------
  520.   Page 9
  521.  
  522.    Find Area Code Documentation
  523.   ----------------------------
  524.  
  525.  
  526.   Remember, just press Esc to exit the program (Ctrl-C or Ctrl-Break will
  527.   also exit).
  528.  
  529.   While you're inside FAC, you can get brief help by pressing F1. This
  530.   shows you that F1 gets help, F2 toggles the "Fuzzy" search mode, F5
  531.   prompts you for new data to add to an external data file, F9 toggles the
  532.   AutoZoom screen size feature, F10 toggles screen zooming, and Esc exits
  533.   the program.  You can reposition FAC's window up and down on the screen
  534.   by pressing the up and down arrow keys.
  535.  
  536.   Sometimes, your search string will find more information than can be
  537.   displayed in the window.  If the screen fills up with information, the
  538.   program will pause and prompt you to press the Esc key to stop
  539.   displaying information from the current search, or press any other key
  540.   to continue displaying information.  If you press Esc to stop displaying
  541.   information, you'll be returned to FAC's prompt.  Pressing Esc once more
  542.   will exit the program.
  543.  
  544.   If FAC doesn't find a match for your search string in its data file,
  545.   you'll see a brief message in the center of the window saying that the
  546.   string couldn't be found.  You can then edit the search string if you
  547.   wish.
  548.  
  549.   Once you've experimented with FAC, you may notice that sometimes it pops
  550.   up in the upper half of your screen and sometimes it pops up in the lower
  551.   half.  Why?  FAC looks at where the cursor is positioned and brings up
  552.   the FAC window in the opposite half of the screen you're working in.
  553.   This insures the program doesn't obscure something you may need to see
  554.   while you're using the program.
  555.  
  556.   FAC also shows you today's date and the current time (in 24-hour format)
  557.   at the top center of the program's window while the program is on the
  558.   screen.  See the Advanced Options and Configuration section for selecting
  559.   12/24 hour clock format with the /C switch.
  560.  
  561.   The other thing you may have noticed is that FAC pops up in whatever mode
  562.   (25, 43, or 50 lines) your video card is in.  FAC automatically checks to
  563.   see how many lines you're using at the moment and adjusts its windows
  564.   accordingly.  FAC isn't designed to support 40 column mode, but will
  565.   safely pop up (although you won't like what you see).  FAC won't popup at
  566.   all when you're in graphics mode.
  567.  
  568.   One final note on using FAC from the command line.  You can "redirect"
  569.   the output from the program's status messages and so forth by using
  570.   standard MS-DOS redirection conventions.  For example, if you didn't
  571.   want info on the program's installation to appear on the screen while
  572.   booting up, you could install FAC like this:
  573.  
  574.                                FAC /I >NUL
  575.  
  576.  
  577.   -------
  578.   Page 10
  579.  
  580.    Find Area Code Documentation
  581.   ----------------------------
  582.  
  583.  
  584.   When FAC installs, you wouldn't see messages from the program at all.
  585.  
  586.   If you want to, you could use the redirection capability to send FAC
  587.   status messages to a file or to the printer.
  588.  
  589.        FAC -H >FILENAME.EXT   This would send help info to FILENAME.EXT
  590.        FAC -H >PRN            This would send help info to the printer
  591.  
  592.   PLEASE NOTE:  If you redirect FAC's output to a file when you install it
  593.   as a memory resident program, that file remains "open" and is not
  594.   "released" back to MS-DOS normally until you uninstall FAC using the /U
  595.   option (or until you reboot your computer).  This is normally not a
  596.   problem, but could be if you had an extreme number of files open.  If
  597.   you have problems, try using a larger FILES entry in your CONFIG.SYS
  598.   file (if you're currently using FILES=24, try using FILES=28).  Again,
  599.   this is only when you redirect output when installing FAC as a TSR.
  600.  
  601.   You cannot redirect any of the windows or output from the running
  602.   program.
  603.  
  604.  
  605.   The External Data File
  606.   ----------------------
  607.  
  608.   FAC uses its own data file, FAC.DAT to store area code information so
  609.   that you can search for it.  This file contains ASCII text which you can
  610.   modify to update or correct area codes, or for any other purpose.  Many
  611.   users use FAC to keep track of their own personal information (see the
  612.   section toward the end of this document on Alternative Uses).  Beginning
  613.   with FAC Version 1.50, your data can be stored in a data file external to
  614.   the FAC.DAT file.  This allows you to maintain your own file of
  615.   information and keep it separate from the area codes in the FAC.DAT file.
  616.  
  617.   The default external data file, MY-DATA.DAT is automatically searched if
  618.   it exists in: the directory you're currently PATHed to; the directory
  619.   where FAC.EXE resides; or elsewhere on the path defined by the DOS PATH
  620.   statement most people have in their AUTOEXEC.BAT file.  If a line in the
  621.   MY-DATA.DAT file contains the string you're searching for, it will be
  622.   displayed in FAC's window after the FAC.DAT file is searched.  Text found
  623.   in the external data file will be displayed in dimmer characters than
  624.   text found in the FAC.DAT file so you'll know where the information came
  625.   from.
  626.  
  627.   If you specify a different external data file via the /D switch (see
  628.   Advanced Options and Configuration), the specified file will be searched
  629.   instead of the MY-DATA.DAT file.  This file can be anywhere on the disk,
  630.   but if it isn't in one of the places where FAC looks for MY-DATA.DAT, you
  631.   must use the /D switch to specify the full disk, directory and file name.
  632.  
  633.   The external data file can contain any text you wish.  This can be a file
  634.  
  635.   -------
  636.   Page 11
  637.  
  638.    Find Area Code Documentation
  639.   ----------------------------
  640.  
  641.  
  642.   you create, or it can be a pre-existing file like a BBS listing.  FAC
  643.   expects the file to be "line-oriented".  This means that if you're
  644.   searching a text document for two words which are on different lines, FAC
  645.   won't be able to find the line.
  646.  
  647.  
  648.   Adding to the External Data File
  649.   --------------------------------
  650.  
  651.   You can add your own information to the external data file in two ways.
  652.   You can use a text editor or word processor to create and maintain the
  653.   file, or you can you use FAC's internal capability to add data to the
  654.   external data file.
  655.  
  656.   If you use an editor to create or modify the external data file, you must
  657.   adhere to two rules: 1) you must save the file in pure ASCII format; and
  658.   2) each line must not exceed 119 characters.  You can add your
  659.   information anywhere in the file in any order.  Once you've added a line
  660.   to the file, FAC will be able to search for that information if the file
  661.   is the default or specified external data file.
  662.  
  663.   While using FAC, you can press F5 to add a new line of data to the end of
  664.   the default or specified external data file.  Just press F5, and you'll
  665.   see a status message indicating you're adding data.  On the bottom line
  666.   of the window, you'll see a prompt for the new data to add.  You can use
  667.   the same keys, described above, to edit this line.  You'll automatically
  668.   be limited to 119 characters.  Type in the line of information at the
  669.   prompt and press ENTER when you're satisfied with the way the information
  670.   looks.  Your information will be appended to the default (or specified)
  671.   external data file.  If MY-DATA.DAT doesn't exist, the file will be
  672.   created in the same directory which contains FAC.EXE.  If you specified
  673.   an external data file with /D, the file must already exist, or the
  674.   program won't start.
  675.  
  676.   When you press ENTER, you'll see a status message that the new data was
  677.   added to either the default or specified external data file.  Now you can
  678.   search for the information anytime.  Press F5 to add another line of
  679.   information to the external data file.
  680.  
  681.   When you add data to the external data file, your information is appended
  682.   to the very end of the file--it isn't sorted in any way.  If you want the
  683.   file sorted, use a separate utility like Vern Buerg's excellent SORTF.COM
  684.   (current version as of this date is SORTF237.ZIP).  Note that it really
  685.   isn't necessary to have the file sorted since the entire file is searched
  686.   each time.  Even you don't know where something is in the file when you
  687.   edit it, you can always use your editor's search function to find the
  688.   line you want.
  689.  
  690.  
  691.  
  692.  
  693.   -------
  694.   Page 12
  695.  
  696.    Find Area Code Documentation
  697.   ----------------------------
  698.  
  699.  
  700.   Using FAC as a Popup TSR Program
  701.   --------------------------------
  702.  
  703.   More often than not, when you're at your computer and you need area code
  704.   information, you're in the middle of doing something else.  To use FAC as
  705.   described above, you must save your work, exit the program you're using,
  706.   then invoke FAC.  FAC would tell you what you need to know, then you
  707.   would have to restart your original program, go back to where you left
  708.   off, and try to go back to work.
  709.  
  710.   It would be much more convenient if you could simply have FAC
  711.   immediately "popup" over whatever you're doing, give you the information
  712.   you need, then go away, leaving you exactly where you were.  Not only
  713.   would it be more convenient, it would save a lot of your valuable time.
  714.  
  715.   FAC can do this.  All you have to do is tell FAC to install itself as a
  716.   "popup" or memory resident program.
  717.  
  718.   You'll also see this type of program called a TSR, which stands for
  719.   Terminate & Stay Resident.  A TSR is installed or loaded once from the
  720.   DOS command line.  It stays in memory even while you're doing other
  721.   things, and watches to see when you press a special key or key sequence
  722.   to activate it.  This special key sequence is known as a "hotkey".  When
  723.   you press the hotkey, the program starts.
  724.  
  725.   Here's how to install FAC as a memory resident, popup program.  At the
  726.   DOS prompt, type: "FAC /I" (without the quotes) then press ENTER.  FAC
  727.   will then install itself in memory as a TSR.  When it has successfully
  728.   installed itself, it will describe how it has been installed.  In this
  729.   case, you will use FAC's defaults.
  730.  
  731.   Once you've installed FAC as described above, you can press FAC's hotkey
  732.   to pop it up wherever you are.  FAC's hotkey is <Alt><LeftShift><F>.  To
  733.   press this key sequence, press and hold the "Alt" key, press and hold the
  734.   Shift key on the left side of your keyboard, then press the F key.  As
  735.   soon as all three keys are pressed, FAC will "wake up" and activate
  736.   itself.
  737.  
  738.   FAC will put its window on the screen right over the top of whatever
  739.   you're doing.  Don't worry.  When FAC is done, it will return the screen
  740.   to exactly the way it found it.
  741.  
  742.   When you invoke the TSR version of FAC as installed above, it works
  743.   somewhat differently than it does when you start it from the DOS prompt.
  744.   Recall that when you run the program from the DOS prompt, you must enter
  745.   a parameter (search string) so FAC knows what to search for. When FAC
  746.   operates as a TSR, it can read the text string (state, area code, city,
  747.   etc.) you want to search for right off the screen by looking at the word
  748.   "under" or to the left of where you have the cursor positioned!  (You can
  749.   turn off reading the search string from the screen by using the /G
  750.  
  751.   -------
  752.   Page 13
  753.  
  754.    Find Area Code Documentation
  755.   ----------------------------
  756.  
  757.  
  758.   switch.  See Advanced Options and Configuration.)  If the cursor isn't in
  759.   a word or just to the right of a word, no search string will be passed to
  760.   FAC, but it will still pop up.  Reading the search string from the screen
  761.   can save you time typing in what to search for and it can avoid errors
  762.   you might make while typing.
  763.  
  764.   So, what happens?  You press the hotkey, FAC pops up over your work,
  765.   reads the text "under" the cursor, and immediately begins its search.
  766.   After it finds and displays a match, it prompts you for another search.
  767.   Now the program operates exactly the way it does when used from the DOS
  768.   prompt.
  769.  
  770.   If you use the up/down arrow keys to reposition the normal FAC window,
  771.   the position you choose will be retained the next time you press the
  772.   hotkey.  Note that this means that because you've repositioned the
  773.   window, it may pop up and obscure text near the cursor.  If this is a
  774.   problem or you want to "reset" window positioning to pop up in the
  775.   opposite half of the screen from the cursor, just press F10 (once if you
  776.   are zoomed, twice if you aren't zoomed) and the automatic positioning
  777.   will be restored.
  778.  
  779.   You can press F10 to zoom FAC's window to take up the full screen, and
  780.   the program will "remember" to pop up in this mode the next time you
  781.   press the hotkey.
  782.  
  783.   Note that the F5 key, which adds data to your default or user-specified
  784.   external datafile, can be used even when FAC is loaded as a TSR.  This
  785.   allows you to pop up FAC to "jot" a phone number down in your FAC
  786.   external data file--without leaving whatever you're working on.
  787.  
  788.   When you want to exit, press Esc, and FAC will collapse its window, and
  789.   restore your screen and cursor location exactly the way it appeared when
  790.   you pressed the hotkey.
  791.  
  792.   If you want to uninstall FAC as a memory resident program (TSR), you
  793.   have two choices.  You can uninstall FAC from the command line by using
  794.   the /U switch, or you can press Alt-U twice while inside FAC's window.
  795.   After you press Alt-U a second time, the program will exit and will
  796.   uninstall itself from memory.
  797.  
  798.  
  799.   What Are Swapping TSRs?
  800.   -----------------------
  801.  
  802.   You may have noticed that when you pressed the hotkey, a reverse video
  803.   message appeared on the bottom of the screen which said "Swapping in..."
  804.   Similarly, when you pressed Esc to exit the program, "Swapping out..."
  805.   appeared.  These messages tell you the program is swapping into and out
  806.   of memory (RAM) from disk or expanded memory (EMS).  Why does the program
  807.   do this?
  808.  
  809.   -------
  810.   Page 14
  811.  
  812.    Find Area Code Documentation
  813.   ----------------------------
  814.  
  815.  
  816.  
  817.   When swapping TSRs install, they take a snapshot of the complete program
  818.   and write it out to a "swap file" on disk (or use EMS memory), then free
  819.   up all but a tiny portion of memory (which holds the portion of the
  820.   program which watches for the hotkey and then does the actual swapping
  821.   to/from disk).  When swapping TSRs pop up over your existing program,
  822.   they may also have to take a snapshot of your application and write it to
  823.   disk or EMS memory before it swaps the rest of the TSR in. So why do we
  824.   want to put up with all this swapping in and out? Doesn't this cause
  825.   delays?  Why can't the program just pop up instantly like some of my
  826.   other TSRs?
  827.  
  828.   Well, like everything else in the world, there are tradeoffs.  In order
  829.   to run full-featured, advanced programs, it takes memory (RAM).  The more
  830.   full-featured the program, the more memory it takes.  Unfortunately,
  831.   memory is a limited resource and "full-featured" often translates to
  832.   "memory-hungry."  FAC has many features but still only requires about
  833.   128K of RAM to run.  This isn't a problem if FAC is the only program you
  834.   want to run, but it's a big problem if you want FAC to be loaded as a TSR
  835.   at the same time you're running other (full-featured) programs.
  836.  
  837.   When FAC is installed as a swapping TSR, it only requires about 7K of
  838.   RAM to watch for you to press the hotkey and then swap what you're doing
  839.   out and swap itself in.  With all the other TSRs you use and the other
  840.   programs you run, you need all the help you can get.  The TSR swapping
  841.   technology FAC uses helps you optimize all the memory you have with very
  842.   little impact on how you use the program.  As computers continue to
  843.   become faster and more powerful, you'll see more and more swapping TSRs.
  844.  
  845.   The time you spend waiting on swapping is relatively trivial compared to
  846.   the time it takes to leave your application, then return.  On even the
  847.   slowest computers, swapping delays are only about 1 or 2 seconds.  On
  848.   faster computers using EMS memory for swapping, the TSR can pop up
  849.   instantaneously, for all practical purposes.  Of course swapping delays
  850.   can be affected by a wide range of hardware and software variables.  Fast
  851.   hard disks with 1:1 interleaves and high data transfer rates make a huge
  852.   difference, even when used on an 808X CPU.  If you're able to use EMS
  853.   memory, RAM Disk, or disk caching (hardware or software) you'll find
  854.   swapping delays to be negligible or even unmeasurable.  See the section
  855.   below on Advanced Options and Configuration for information on how to
  856.   reduce swapping delays.
  857.  
  858.   The bottom line: I think the tradeoffs (swapping delays) are completely
  859.   acceptable given the tremendous savings in your precious RAM. I think
  860.   you'll think so, too!
  861.  
  862.  
  863.   Advanced Options and Configuration
  864.   ----------------------------------
  865.  
  866.  
  867.   -------
  868.   Page 15
  869.  
  870.    Find Area Code Documentation
  871.   ----------------------------
  872.  
  873.  
  874.   FAC has several different options or "switches" you can use to  customize
  875.   the way FAC works when you invoke the program or install it as a popup.
  876.   Again, FAC is designed to be very easy to use, and you may be perfectly
  877.   happy with FAC's performance when you use its default options.
  878.  
  879.   Switch options are always preceded by either a "/" or a "-" and can be
  880.   upper or lower case letters.  Remember, to see a complete list of all
  881.   FAC's options, just type "FAC /H" at the DOS prompt and press ENTER.
  882.   Here's a quick summary of FAC's switches:
  883.  
  884.       /A     Don't make disk swap files hidden/system file(s); (with /I)
  885.       /B     Don't use color attributes; use monochrome attributes
  886.       /C     Don't use 24-hour clock format; use 12-hour format
  887.       /D     Use the specified file for the external data file
  888.       /E     Don't use EMS memory for swapping (use disk); (with /I)
  889.       /F     Enables "fuzzy search" mode
  890.       /G     Don't read text from screen on popup; (with /I)
  891.       /H     Show a list and description of the various switch options
  892.       /I     Loads popup/TSR with defaults
  893.       /K     Changes TSR hotkey
  894.       /M     Suppresses swapping messages (with /I)
  895.       /N     No swapping (with /I)
  896.       /P     Path for swap files; used (with /I)
  897.       /T     Don't use the AutoZoom feature
  898.       /U     Unload popup from memory, if possible
  899.       /X     Don't use exploding windows
  900.       /Y     Use ZIPCODES.DAT as default external file if it exists
  901.       /Z     Use a "zoomed" window which uses the full screen
  902.  
  903.  
  904.   Most of these switches can be used in either of two ways: 1) as command
  905.   line switches, entered when the program is run; or 2) entered as part of
  906.   an environment variable called "FAC".  If you wanted the program to use
  907.   the fuzzy search mode, you could simply enter  "FAC bolder /f" and the
  908.   search would take place, using the fuzzy search.  But, what if you wanted
  909.   FAC to ALWAYS start in (default to) fuzzy mode?  This is where the FAC
  910.   environment variable would be used.  Use the SET command to assign a
  911.   string to the FAC environment variable:
  912.  
  913.                                  SET FAC=/f
  914.  
  915.   If you entered this before running FAC or had this line in your
  916.   AUTOEXEC.BAT file, FAC would always start in fuzzy mode without having
  917.   to enter it on the command line when you start the program.
  918.  
  919.   Suppose you always wanted FAC to use fuzzy search mode, zoomed windows,
  920.   non-exploding windows, and when installed as a TSR: no swapping messages
  921.   with a swap file path of d:\temp and without getting search strings from
  922.   the screen.  Instead of entering each of these switches each time you run
  923.   the program, you would use the following environment variable entry,
  924.  
  925.   -------
  926.   Page 16
  927.  
  928.    Find Area Code Documentation
  929.   ----------------------------
  930.  
  931.  
  932.   preferably in your AUTOEXEC.BAT file:
  933.  
  934.                     SET FAC=/f /Z -x /M -pd:\temp /g
  935.                              ^  ^  ^  ^  ^         ^
  936.   Fuzzy mode ----------------|  |  |  |  |         |
  937.   Zoomed window ----------------+  |  |  |         |
  938.   Non-exploding window ------------+  |  |         |
  939.   Swapping messages off --------------+  |         |
  940.   Swap path -----------------------------+         |
  941.   Don't get search string from screen -------------+
  942.  
  943.   Now, every time FAC is run the above settings will be the defaults. If
  944.   you install the program as a TSR, these settings will be the default
  945.   settings unless you change them after invoking the program with the
  946.   hotkey.  If you change them while TSR, that change will remain effective
  947.   until the next time you change it.
  948.  
  949.   Note the use of both a slash and dash as switch characters and the mixed
  950.   use of upper and lower characters.  You can use all FAC option switches
  951.   in the SET FAC environment variable except /I and /U.  You can use any
  952.   combination of switches in any order.  Invalid switch settings will be
  953.   ignored.  If you enter a swap path with the /P switch, it will be checked
  954.   for validity prior to program execution.
  955.  
  956.   The following section is a complete description of all FAC option
  957.   switches listed in alphabetical order.
  958.  
  959.  
  960.   The "/A" Switch
  961.   ---------------
  962.  
  963.   When used with /I (and when disk is used for swapping), uses swap files
  964.   with "normal" file attributes rather than hidden/system attributes.  Can
  965.   be used in the FAC environment variable.
  966.  
  967.   The /A switch says, "When FAC is installed as a TSR using disk for
  968.   swapping, don't use hidden/system attributes on the swap file(s)."  This
  969.   switch allows you to control the file attribute used on the swap files.
  970.   When the swap files have the hidden/system attribute set, some disk
  971.   defragmenting programs may be unable to defragment them.
  972.  
  973.   NOTE: If you use this switch, be SURE not to delete the swap file(s)
  974.   while FAC is memory resident (TSR).  If this file isn't present when the
  975.   program tries to swap itself in, you'll probably have to reboot your
  976.   computer to recover.
  977.  
  978.   The default is to use hidden/system attributes on the swap file(s) when
  979.   swapping to disk.  This switch does nothing if EMS is being used.
  980.  
  981.   Example: "FAC /I /A"
  982.  
  983.   -------
  984.   Page 17
  985.  
  986.    Find Area Code Documentation
  987.   ----------------------------
  988.  
  989.  
  990.  
  991.   In this example (if EMS wasn't available), the swap files would have
  992.   normal attributes instead of hidden/system attributes.
  993.  
  994.  
  995.   The "/B" Switch
  996.   ---------------
  997.  
  998.   Used for both non-TSR and TSR.  Can be used in the FAC environment
  999.   variable.
  1000.  
  1001.   This option or program "switch" applies to FAC when run from the DOS
  1002.   prompt (non-memory resident mode) or when you install it as a popup.  If
  1003.   you use the "/B" switch, FAC will use only black and white (monochrome)
  1004.   attributes for its text and window displays.  If you have a monochrome
  1005.   system, FAC will normally be able to detect this and automatically use
  1006.   monochrome attributes.  If you use a system which has a color card,
  1007.   running in color mode, but have a monochrome monitor, you should use the
  1008.   /B switch or use the DOS MODE command (e.g., MODE BW80).  You may also
  1009.   want to use the /B switch if you have a laptop or notebook computer with
  1010.   a liquid crystal display (LCD).
  1011.  
  1012.   The default is to use color attributes if you system is using the color
  1013.   mode.
  1014.  
  1015.   If you want to disable the use of color attributes when you run the
  1016.   program from the DOS command line (non-TSR), just put the /B switch after
  1017.   your search parameter.
  1018.  
  1019.   Example:  "FAC City /B"
  1020.  
  1021.   When the program starts, the window and its contents would start out
  1022.   using monochrome or black and white screen attributes.
  1023.  
  1024.  
  1025.   The "/C" Switch
  1026.   ---------------
  1027.  
  1028.   Used for both non-TSR and TSR.  Can be used in the FAC environment
  1029.   variable.
  1030.  
  1031.   This option or program "switch" applies to FAC when run from the DOS
  1032.   prompt (non-memory resident mode) or when you install it as a popup.  If
  1033.   you use the "/C" switch, FAC will use a normal (12-hour, am/pm) clock
  1034.   rather than the 24-hour time format.
  1035.  
  1036.   The default is to use the 24-hour clock format.
  1037.  
  1038.   If you want to disable the use of the 24-hour time format, when you run
  1039.   or install the program, just use the /c switch.
  1040.  
  1041.   -------
  1042.   Page 18
  1043.  
  1044.    Find Area Code Documentation
  1045.   ----------------------------
  1046.  
  1047.  
  1048.  
  1049.   Example:  "FAC City /C"
  1050.  
  1051.   When the program starts, the clock in the top center of the window will
  1052.   be displayed in the 12-hour time format.
  1053.  
  1054.  
  1055.   The "/D" Switch
  1056.   ---------------
  1057.  
  1058.   Used when FAC is run from the command line or when it's installed as a
  1059.   TSR.  Can be used in the FAC environment variable.
  1060.  
  1061.   The /D switch, when followed by a filename specification, says, "use the
  1062.   specified file name as the external data file to search or add
  1063.   information to."  The file specification must be a valid, already
  1064.   existing file on your system and must reside in: the current directory,
  1065.   the directory where FAC.EXE resides, or in a directory defined by the DOS
  1066.   PATH statement.  If the file doesn't exist, or can't be found, FAC will
  1067.   abort with an error message.  If you know the file exists, make sure it
  1068.   is one of the three places described above.  If the file doesn't exist,
  1069.   you must create it.  To create a new file, use a text editor or use
  1070.  
  1071.                         COPY CON FILENAME.EXT <ENTER>
  1072.  
  1073.   then type in text to be entered in the file.  When you're done, press F6
  1074.   to create the end of file marker then press ENTER to save the file.
  1075.  
  1076.   The default is to use the file MY-DATA.DAT.
  1077.  
  1078.   Examples: "FAC /Dstuff.txt"
  1079.  
  1080.   This example would start up FAC using the file STUFF.TXT as the external
  1081.   data file instead of the default, MY-DATA.DAT.
  1082.  
  1083.  
  1084.   The "/E" Switch
  1085.   ---------------
  1086.  
  1087.   When used with /I; don't use Expanded Memory (EMS) when it's available.
  1088.   Can be used in the FAC environment variable.
  1089.  
  1090.   The /E switch says, "even if EMS memory is present, don't use it for
  1091.   swapping--use disk instead."  This switch prevents the program from
  1092.   automatically allocating your EMS memory.  Note that using EMS memory
  1093.   greatly speeds up swapping; you should use it if possible.
  1094.  
  1095.   The default is to use EMS memory for swapping.
  1096.  
  1097.   Example: "FAC /I /E"
  1098.  
  1099.   -------
  1100.   Page 19
  1101.  
  1102.    Find Area Code Documentation
  1103.   ----------------------------
  1104.  
  1105.  
  1106.  
  1107.   This example disables the use of EMS memory for swapping when FAC is
  1108.   installed as a TSR.
  1109.  
  1110.  
  1111.   The "/F" Switch
  1112.   ---------------
  1113.  
  1114.   Used for both non-TSR and TSR.  Can be used in the FAC environment
  1115.   variable.
  1116.  
  1117.   The /F switch says, "Use a 'fuzzy' search method which doesn't require
  1118.   an exact spelling to get a match."  When you use the /F switch, you tell
  1119.   the program to use a powerful text matching technique called the soundex
  1120.   algorithm.  Soundex searches attempt to match words based on the way they
  1121.   sound rather than by how they're spelled.  If you aren't sure how a city,
  1122.   state, or country is spelled, or you're getting a 'not found' message
  1123.   with the string you're using, try the /F switch.
  1124.  
  1125.   There is a price to pay for the soundex searching method: speed.
  1126.   Searches may take up to 10 times as long as normal "exactly spelled"
  1127.   searches, but this is well worthwhile if it's the only way you can find
  1128.   what you're looking for.  You may also get a lot more seemingly
  1129.   unrelated "hits" from a fuzzy search, but this is normal.  After all,
  1130.   you're looking for anything that closely resembles or sounds like your
  1131.   search string.
  1132.  
  1133.   Since fuzzy searches take longer, you may need to stop the search before
  1134.   it completes.  You can press any key during the fuzzy search and it will
  1135.   stop and return to the program's prompt.
  1136.  
  1137.   Once you're inside FAC, you can use the F2 key to toggle between normal
  1138.   searching and fuzzy searches (there's an indicator on in the top center
  1139.   of the window frame when you're in fuzzy mode).  If you've installed FAC
  1140.   as memory resident program, the program will remember whether you were in
  1141.   fuzzy mode the last time you used it.
  1142.  
  1143.   Examples: "FAC Colorawdo /f" "FAC springfeild /f"
  1144.  
  1145.   In both these examples, the program would immediately start searching
  1146.   for the specified strings, but the 'Fuzzy Search' indicator would be on
  1147.   at the top center of the window frame, and you would also see a flashing
  1148.   message telling you the search is in progress.  The first example would
  1149.   give you "hits" for Colorado, even though it's misspelled.  The second
  1150.   example would find three instances of Springfield as you might expect,
  1151.   but also yields Palm Springs, Steamboat Springs, Colorado Springs, and
  1152.   Big Spring.
  1153.  
  1154.  
  1155.  
  1156.  
  1157.   -------
  1158.   Page 20
  1159.  
  1160.    Find Area Code Documentation
  1161.   ----------------------------
  1162.  
  1163.  
  1164.   The "/G" Switch
  1165.   ---------------
  1166.  
  1167.   When used with /I; don't get search strings from the screen in TSR mode.
  1168.   Can be used in the FAC environment variable.
  1169.  
  1170.   The /G switch says, "When you popup FAC, don't read the text to search
  1171.   for off the user's screen; just ask for a string."  This switch prevents
  1172.   you from grabbing the search string from the screen and requires you to
  1173.   enter it yourself.
  1174.  
  1175.   The default is to read the screen for the text to search for.
  1176.  
  1177.   Example: "FAC /I /G"
  1178.  
  1179.   This example disables reading the text from the screen when FAC is
  1180.   popped up.
  1181.  
  1182.  
  1183.   The "/I" Switch
  1184.   ---------------
  1185.  
  1186.   Used to install FAC as a swapping or non-swapping TSR.  Can NOT be used
  1187.   in the FAC environment variable.
  1188.  
  1189.   The /I switch says, "Install FAC as a memory resident program using its
  1190.   defaults and/or other switches." If you use /I by itself, the program
  1191.   will install itself using several predefined defaults, all of which can
  1192.   be changed by using other switches.
  1193.  
  1194.   If you use /I alone to install FAC, the following defaults are used:
  1195.  
  1196.     - Swapping to disk is enabled unless sufficient EMS memory is found.
  1197.     - Messages which tell you swapping is happening are enabled.
  1198.     - Disk swap files will be hidden/system files.
  1199.     - The disk and directory path FAC uses for swap files is the same
  1200.       disk/directory where FAC found FAC.DAT.
  1201.     - AutoZoom is on.
  1202.     - Exploding windows are enabled (see the /X switch above).
  1203.  
  1204.   After you use the /I switch to install FAC, you will see a status
  1205.   message which describes the state of each of the above defaults.
  1206.  
  1207.   Note that if FAC is already installed, you won't be able to install a
  1208.   second copy.  If you try to install it again, you'll get an error
  1209.   message and the installation will abort.
  1210.  
  1211.   If you don't have enough disk space for the swap files, you'll get an
  1212.   error message and FAC won't install as a TSR.
  1213.  
  1214.  
  1215.   -------
  1216.   Page 21
  1217.  
  1218.    Find Area Code Documentation
  1219.   ----------------------------
  1220.  
  1221.  
  1222.   After you install FAC as a TSR, don't move or rename the FAC.DAT file or
  1223.   you will probably get dumped from the TSR when you try to use it.
  1224.  
  1225.   Please note that you can't pop up FAC when you're using a program which
  1226.   is currently in graphics mode.  If you try to pop it up, you'll hear a
  1227.   beep and nothing else will happen.
  1228.  
  1229.   Be aware that since FAC swaps the currently running program out so FAC
  1230.   can become active, you could have a problem with some programs,
  1231.   especially communications programs.  It isn't advisable to pop up any TSR
  1232.   when a communications program if data is coming in or going out.
  1233.  
  1234.   FAC should work fine with most other TSRs.  The only problem you may
  1235.   encounter is when you don't load FAC last among other TSRs.  This won't
  1236.   hurt anything, but you may not have access to your other TSRs when FAC is
  1237.   swapped in (since it may have swapped the other TSR(s) out of RAM).   If
  1238.   FAC isn't in use, or it's been installed as a non-swapping TSR, you
  1239.   shouldn't have a problem with TSRs loaded after it.
  1240.  
  1241.   Don't attempt to install FAC while you're "shelled out" of other
  1242.   programs.  For example, you can drop temporarily to DOS from many
  1243.   programs, but you should never try to install FAC while you're doing so.
  1244.   This also applies to many menu programs like PowerMenu and AutoMenu.
  1245.   These programs can leave a portion of themselves in memory.  You should
  1246.   never try to install FAC as a TSR from any menu program.  Completely exit
  1247.   from any other program before attempting to install FAC as a TSR.  You
  1248.   may run FAC from the DOS prompt (non-TSR) while shelled out of another
  1249.   program if you wish.
  1250.  
  1251.   Example:  "FAC /I"
  1252.  
  1253.   This would install FAC as a TSR with the defaults described above.
  1254.  
  1255.  
  1256.   The /K Switch
  1257.   -------------
  1258.  
  1259.   When used with the /I switch, allows you to specify custom hotkeys used
  1260.   to popup FAC.  Can be used in the FAC environment variable.
  1261.  
  1262.   The /K switch, followed by a special code, says, "use this special code
  1263.   to define a different hotkey than the default."  This is probably the
  1264.   most complicated feature to use mainly because there are so many possible
  1265.   combinations of hotkeys you can use.  Don't be afraid to experiment--FAC
  1266.   checks the hotkey code first to make sure it's valid.  You can't hurt
  1267.   anything by playing with the /K option!
  1268.  
  1269.   Normally, the default hotkey, <Alt><LeftShift><F>, will be unique enough
  1270.   not to interfere with hotkeys or program keys in other programs.  This
  1271.   mean that, unless you simply don't like this key combination, you might
  1272.  
  1273.   -------
  1274.   Page 22
  1275.  
  1276.    Find Area Code Documentation
  1277.   ----------------------------
  1278.  
  1279.  
  1280.   never need to use the /K option.  If for some reason you do want to
  1281.   change the hotkey, you'll need to carefully read this section and use the
  1282.   chart at the end of this documentation which contains key codes which you
  1283.   can use with the /K key.  Once you decide on the new hotkey and "compute"
  1284.   the code to use with the /K switch, you can put the /K and code in your
  1285.   AUTOEXEC.BAT file or in the SET FAC= environment variable, and then
  1286.   forget it.
  1287.  
  1288.   Generically, the /K switch looks like this:
  1289.  
  1290.                               FAC /I /K$XXYY
  1291.                                       ^^ ^ ^
  1292.   The /K switch itself ---------------|| | |
  1293.   The dollar sign (always used!) ------| | |
  1294.   The XX portion of the hotkey code -----| |
  1295.   The YY portion of the hotkey code -------|
  1296.  
  1297.   Let's start with the XX portion of the hotkey.  Generally, this is the
  1298.   first part of a two part hotkey.  For example, XX would contain the code
  1299.   for the <Alt> or <Alt><LeftShift> portion of the actual hotkey you press.
  1300.   Here are all the legal values for the XX portion of the /K option:
  1301.  
  1302.                                     Key   XX Code
  1303.                                     ---   -------
  1304.                                   <Alt>     08
  1305.                                  <Ctrl>     04
  1306.                             <LeftShift>     02
  1307.                            <RightShift>     01
  1308.  
  1309.                             <Alt><Ctrl>     0C
  1310.                        <Alt><LeftShift>     0A
  1311.                       <Alt><RightShift>     09
  1312.            <Alt><LeftShift><RightShift>     0B
  1313.  
  1314.                       <Ctrl><LeftShift>     06
  1315.                      <Ctrl><RightShift>     05
  1316.           <Ctrl><LeftShift><RightShift>     07
  1317.  
  1318.                 <LeftShift><RightShift>     03
  1319.  
  1320.                  <Alt><Ctrl><LeftShift>     0E
  1321.                 <Alt><Ctrl><RightShift>     0D
  1322.      <Alt><Ctrl><LeftShift><RightShift>     0F
  1323.  
  1324.   Note that if the XX portion of the hotkey string equals 00, then <Alt>,
  1325.   <Ctrl>, <LeftShift>, or <RightShift> codes aren't used in the hotkey.
  1326.  
  1327.   That's every combination of those four keys.  So all you do to compute
  1328.   the XX portion of the /K code is choose the first part of the code.
  1329.   Let's say we wanted to use a hotkey <Alt><Ctrl><A>.  We would look up
  1330.  
  1331.   -------
  1332.   Page 23
  1333.  
  1334.    Find Area Code Documentation
  1335.   ----------------------------
  1336.  
  1337.  
  1338.   the code in the table above for <Alt><Ctrl> and we would find "0C" (note
  1339.   that first character is a zero and not the letter "O").  So, the XX
  1340.   portion of the /K code is 0C.  If we constructed our /K code, we
  1341.   would have "/K$0CYY" so far.  Next comes the YY portion of the code.
  1342.  
  1343.   The YY portion of the code represents the last key you press in the
  1344.   hotkey combination.  All you have to do is look up the key you want to
  1345.   press in the table at the end of this document.  For example, to complete
  1346.   the example above, <Alt><Ctrl><A>, you would find "A" in the table and
  1347.   then use the code, "1E" as the YY portion of the /K code.  That's
  1348.   it--look up the key in the table and use the two-digit code in the YY
  1349.   portion of the /K code.  So, if you wanted to change FAC's hotkey to
  1350.   <Alt><Ctrl><A> you would use "/K$OC1E".
  1351.  
  1352.   Let's look at a few other /K hotkey examples.
  1353.  
  1354.            Desired Hotkey       XX code      YY code    /K string
  1355.            --------------       -------      -------    ---------
  1356.  
  1357.                  <Alt><F>         08            21       /K$0821
  1358.                <Alt><F10>         08            44       /K$0844
  1359.                     <F12>         00            86       /K$0086
  1360.               <Ctrl><F10>         04            44       /K$0444
  1361.      <Alt><RightShift><F>         09            21       /K$0921
  1362.   <LeftShift><RightShift>         02            36       /K$0236
  1363.           <LeftShift><F9>         02            43       /K$0243
  1364.          <RightShift><F1>         01            3B       /K$013B
  1365.      <Ctrl><LeftShift><P>         06            19       /K$0619
  1366.            <Alt><Ctrl><F>         0C            21       /K$0C21
  1367.  
  1368.   NOTE: The XX portion of the hotkey may not use anything "lower" than
  1369.   Ctrl for the following keys: Esc, BkSp, Space, CapsLock, Tab, ENTER,
  1370.   PrtSc, Ins, Del, and Num Lock. This means you can't use LShft-Tab, or
  1371.   RShft-Tab, but you can use Ctrl-Tab or Alt-Tab.
  1372.  
  1373.   Note also that you could also "redefine" normal DOS keys.  I've
  1374.   "disabled" some of the more important ones, but you could still redefine
  1375.   the "V" key for example.  Use hotkey reconfiguration with caution!
  1376.  
  1377.  
  1378.   The "/M" Switch
  1379.   ---------------
  1380.  
  1381.   Used with /I when installing FAC as a swapping TSR.  Can be used in the
  1382.   FAC environment variable.
  1383.  
  1384.   The /M switch says, "don't put the swapping in/out... messages at the
  1385.   bottom of the screen when swapping."  The program doesn't work any
  1386.   differently, except that you won't see the messages.  If you use EMS
  1387.   memory (the default if you have EMS installed), or a RAM disk for
  1388.  
  1389.   -------
  1390.   Page 24
  1391.  
  1392.    Find Area Code Documentation
  1393.   ----------------------------
  1394.  
  1395.  
  1396.   swapping, the swapping messages might be an unnecessary distraction.
  1397.  
  1398.   The default is to have swapping messages appear.
  1399.  
  1400.   Example: "FAC /I /M"
  1401.  
  1402.   This would install FAC as a swapping TSR, but swapping messages would be
  1403.   disabled.
  1404.  
  1405.  
  1406.   The "/N" Switch
  1407.   ---------------
  1408.  
  1409.   Used with /I to install FAC as a non-swapping TSR.  Can be used in the
  1410.   FAC environment variable.
  1411.  
  1412.   The /N switch says, "NO swapping; don't use the swapping TSR mode; keep
  1413.   the entire TSR in RAM."  This will give you instant access to FAC when
  1414.   you press the hotkey, but requires about 140K of RAM.  If you have plenty
  1415.   of RAM, need FAC to be available instantly, and use programs which won't
  1416.   miss the memory FAC requires in this mode, use the /N switch.
  1417.  
  1418.   The default is a swapping TSR.
  1419.  
  1420.   Example:  "FAC /I /N"
  1421.  
  1422.   This would install FAC as a non-swapping TSR.
  1423.  
  1424.  
  1425.   The "/P" Switch
  1426.   ---------------
  1427.  
  1428.   Used with /I when installing FAC as a swapping TSR.  Can be used in the
  1429.   FAC environment variable.
  1430.  
  1431.   The /P switch, when followed by a complete path specification, says,
  1432.   "put the swap files in the specified disk/directory."  The path
  1433.   specification must be a valid, already existing disk/directory, and must
  1434.   be less than 127 characters.  Do not put a backslash on the end of the
  1435.   path specification (unless you're using the root directory of the
  1436.   specified disk).  In other words, use the same format for the /P path
  1437.   specification that you would for a normal DOS PATH statement.
  1438.  
  1439.   The main reason you would use this switch would be to tell FAC to use a
  1440.   RAM disk. If you have a RAM disk, with at least 250K of space, you
  1441.   should use the /P switch to significantly speed up swapping.  If you use
  1442.   /P to swap to RAM disk, you may wish to use the /M switch to disable the
  1443.   swapping in/out messages.
  1444.  
  1445.   It's highly inadvisable to use a removable (floppy) disk for the swap
  1446.  
  1447.   -------
  1448.   Page 25
  1449.  
  1450.    Find Area Code Documentation
  1451.   ----------------------------
  1452.  
  1453.  
  1454.   path.  You won't harm anything, but you could lock up your machine and
  1455.   have to reboot if the disk isn't there when swapping needs to occur.
  1456.  
  1457.   Whether you use the /P option or not, FAC generates either one or two
  1458.   swap files, named FAC-SWP1.$$$ and FAC-SWP2.$$$, each about 130K in size,
  1459.   located wherever FAC.DAT was found (unless you specify otherwise with the
  1460.   /P switch).  These files are marked with both System and Hidden
  1461.   attributes to make it less likely you will accidentally delete them
  1462.   unless you use the /A option).  If they are deleted after FAC is loaded,
  1463.   and you try to pop up the program, you'll get an error message and you'll
  1464.   have to reboot.  When you successfully unload FAC, the swap files are
  1465.   deleted.  If you reboot or turn your machine off, the file(s) will
  1466.   remain, but will be written over the next time FAC is loaded as a TSR.
  1467.  
  1468.   The default is to put swap files in the same disk/directory where
  1469.   FAC.DAT was found.  If you aren't sure where this is, run FAC with a
  1470.   /? and look at the default determined by the program at run time.
  1471.  
  1472.   Examples: "FAC /I /Pd:"
  1473.  
  1474.             "FAC /I /Pc:\junk
  1475.  
  1476.   The first example would install FAC as a swapping TSR with the swap
  1477.   files located on the D: drive.  The second example would use a swap file
  1478.   directory called C:\JUNK.
  1479.  
  1480.  
  1481.   The "/T" Switch
  1482.   ---------------
  1483.  
  1484.   Used for both non-TSR and TSR.  Can be used in the FAC environment
  1485.   variable.
  1486.  
  1487.   This option or program "switch" applies to FAC when run from the DOS
  1488.   prompt (non-memory resident mode) or when you install it as a popup.  If
  1489.   you use the "/T" switch, FAC will disable its use of the AutoZoom
  1490.   screen-sizing feature.  If you use this option, it means that when a
  1491.   large number of lines needs to be displayed, the screen won't
  1492.   automatically zoom to full size to show you as much text as possible.
  1493.  
  1494.   You may be able to uninstall FAC by using something like TurboPower
  1495.   Software's excellent (and free!) Mark/Release (TSRCOM) utilities, but
  1496.   even then, you must remove FAC and all TSRs loaded after it.  If you plan
  1497.   to frequently uninstall FAC you should load it last.  Of course if you
  1498.   load FAC last, then you won't be able to unload TSRs loaded before it.
  1499.   Naturally, you can uninstall any TSR by rebooting your machine.
  1500.  
  1501.   Example: "FAC /U"
  1502.  
  1503.   This example uninstalls FAC if no other TSRs were installed after it.
  1504.  
  1505.   -------
  1506.   Page 26
  1507.  
  1508.    Find Area Code Documentation
  1509.   ----------------------------
  1510.  
  1511.  
  1512.  
  1513.   Note that you can also uninstall FAC from inside the program by pressing
  1514.   Alt-U twice in succession.
  1515.  
  1516.  
  1517.   The "/X" Switch
  1518.   ---------------
  1519.  
  1520.   Used for both non-TSR and TSR.  Can be used in the FAC environment
  1521.   variable.
  1522.  
  1523.   This option or program "switch" applies to FAC when run from the DOS
  1524.   prompt (non-memory resident mode) or when you install it as a popup.  If
  1525.   you use the "/X" switch, FAC will disable its use of exploding windows.
  1526.   Exploding windows don't change the way the program searches or the way
  1527.   you use it, it just changes how the program looks when it starts and
  1528.   finishes.
  1529.  
  1530.   If you want to disable exploding windows when you run the program from
  1531.   the DOS command line (non-TSR), just put the /X switch after your
  1532.   search parameter.
  1533.  
  1534.   Example:  "FAC boulder /x"
  1535.  
  1536.   When the program starts, the window would appear instantly on the screen
  1537.   instead of being exploded onto the screen.
  1538.  
  1539.  
  1540.   The "/Y" Switch
  1541.   ---------------
  1542.  
  1543.   Used for both non-TSR and TSR.  Can be used in the FAC environment
  1544.   variable.
  1545.  
  1546.   This option applies to FAC when run from the DOS prompt (non-memory
  1547.   resident mode) or when you install it as a popup.  If you use the "/Y"
  1548.   switch, FAC will automatically search the ZIPCODES.DAT (included as a
  1549.   registration bonus file) if it exists on the path.
  1550.  
  1551.   Example:  "FAC Englewood /Y"
  1552.  
  1553.   When the program starts, it automatically searches for Englewood in the
  1554.   both the area code data file (FAC.DAT) and in the ZIPCODES.DAT file, if
  1555.   it exists.
  1556.  
  1557.   Please note that if you wanted to, you could rename any file to
  1558.   ZIPCODES.DAT and then search it using the /Y switch.  The /Y switch is
  1559.   just an command line "abbreviation" for the complete external data file
  1560.   specification normally done with the /D switch (see above).
  1561.  
  1562.  
  1563.   -------
  1564.   Page 27
  1565.  
  1566.    Find Area Code Documentation
  1567.   ----------------------------
  1568.  
  1569.  
  1570.  
  1571.   The "/Z" Switch
  1572.   ---------------
  1573.  
  1574.   Used for both non-TSR and TSR.  Can be used in the FAC environment
  1575.   variable.
  1576.  
  1577.   This option applies to FAC when run from the DOS prompt (non-memory
  1578.   resident mode) or when you install it as a popup.  If you use the "/Z"
  1579.   switch, FAC will "zoom" its window to take up the entire screen.
  1580.  
  1581.   Example:  "FAC TX /Z"
  1582.  
  1583.   When the program starts, the window takes up the entire screen.  You
  1584.   might want to use this option if you're viewing lists of area codes or
  1585.   all the area codes for one state.
  1586.  
  1587.  
  1588.   Error Conditions
  1589.   ----------------
  1590.  
  1591.   FAC is very friendly and shouldn't give error messages unless there's
  1592.   really something you need to fix.  Here are some error messages FAC
  1593.   could generate and why you might get them:
  1594.  
  1595.   - "Error while trying to find/open FAC.DAT"   Make sure FAC.DAT exists
  1596.      and that the disk and directory containing FAC.DAT is on your DOS
  1597.      path.
  1598.  
  1599.   - "XXXX is an invalid path name!"  You've specified an incorrect path
  1600.      when using the /P switch or the path you've specified is too long the
  1601.      limit is 127 characters)
  1602.  
  1603.   - "XXXX is an invalid file name!"  You've specified an incorrect file
  1604.      when using the /D switch.
  1605.  
  1606.   - "Couldn't find ZIPCODES.DAT"  This file wasn't found on the path when
  1607.      you used the /Y switch.  The file is a bonus included with the
  1608.      registered version.
  1609.  
  1610.   - "Hotkey definition error: $XXXX is an invalid Hotkey assignment!" The
  1611.      code you used with the /K switch doesn't specify a valid hotkey.  See
  1612.      the documentation on the /K switch.
  1613.  
  1614.   - "FAC isn't loaded!"  You've tried to uninstall FAC (as a TSR) when it
  1615.      wasn't previously loaded.  Use the /I option to install it.
  1616.  
  1617.   - "Unable to unload FAC.  Probably isn't safe to do so!"  This isn't
  1618.      really an error message; it just means that the program can't
  1619.      uninstall itself, probably because there's another TSR or program
  1620.  
  1621.   -------
  1622.   Page 28
  1623.  
  1624.    Find Area Code Documentation
  1625.   ----------------------------
  1626.  
  1627.  
  1628.      loaded after it. Try rebooting if you have to unload it.
  1629.  
  1630.   - "XXXX not found."  This, too, isn't really an error message. You'll
  1631.      get this message any time you searched for string and it wasn't
  1632.      found. The string you're searching for may not be in FAC.DAT or you
  1633.      may need to check your spelling.  Try the fuzzy search mode if you
  1634.      aren't sure of the spelling.
  1635.  
  1636.   - "FAC is already memory resident!"  You're trying to install FAC after
  1637.      it's already been loaded.  Use FAC /U to uninstall it.
  1638.  
  1639.   - "Unable to go TSR."   This message means FAC couldn't install itself as
  1640.      a memory resident program, probably because you don't have enough RAM,
  1641.      you don't have enough disk space for the swap files, or you're trying
  1642.      to load the TSR high (because FAC is a swapping TSR, it can't be
  1643.      loaded high).
  1644.  
  1645.   - "Couldn't make window!"  There was a memory allocation error when FAC
  1646.      tried to draw its window.  You probably don't have enough RAM to run
  1647.      FAC.
  1648.  
  1649.  
  1650.   Technical/Compatibility Notes
  1651.   -----------------------------
  1652.  
  1653.   Find Area Code runs on IBM PC compatibles (clones) using DOS 3.XX and
  1654.   4.01, and MS-DOS 5.0.  It probably won't work with DOS 2.X since 2.X
  1655.   handles paths differently.  It might work if you're in the same directory
  1656.   as the data file.
  1657.  
  1658.   FAC is "DESQview-aware" in the sense that it will disable direct-screen
  1659.   writing when it detects the presence of DESQview.  FAC runs well in a
  1660.   small (160K) DESQview window.
  1661.  
  1662.   FAC is written using Borland's Turbo Pascal 6.0 and TurboPower Software's
  1663.   excellent Object Professional 1.1.  One of the reasons the program
  1664.   searches so quickly is RLINE, Don Strenczewilk's excellent Turbo Pascal
  1665.   OOP text file handling unit.  RLINE allows you to define a "file of
  1666.   lines" object.  Thanks to Don for graciously donating his code to the
  1667.   public domain!
  1668.  
  1669.  
  1670.   How to Reach the Author
  1671.   -----------------------
  1672.  
  1673.                 Michael K. Molloy
  1674.                 Mountain Data Systems
  1675.                 850 North Lane - DGR
  1676.                 Estes Park, CO 80517-9629
  1677.                 CIS: 72737,3237
  1678.  
  1679.   -------
  1680.   Page 29
  1681.  
  1682.    Find Area Code Documentation
  1683.   ----------------------------
  1684.  
  1685.  
  1686.  
  1687.   CompuServe Information Service (CIS) is the best place to reach me, but I
  1688.   also frequent the MicroManiac!, Tom Gettys' fantastic Wildcat BBS
  1689.   (303-673-9470) in Lafayette, CO.  I would be happy to provide electronic
  1690.   support there, if you wish.  His board should always have the latest
  1691.   version of Find Area Code (and hundreds of other fresh uploads!).
  1692.  
  1693.  
  1694.   Alternative Uses
  1695.   ----------------
  1696.  
  1697.   You may have thought to yourself as you used FAC, "Hmmm, if I can pop
  1698.   FAC up anywhere as a tiny TSR, and if I can change the contents of the
  1699.   FAC.DAT file and the external data file, why can't I put my own personal
  1700.   information into it and quickly and conveniently search for it when I
  1701.   need it?"  You can, and I hope you will.
  1702.  
  1703.   I think the ease of modifying FAC's database is a very valuable feature.
  1704.   In fact, one of the reasons I decided to write "yet another area code
  1705.   finder" was the frustration I had with the fact you couldn't modify,
  1706.   correct, update, or add to some of the other area code program data
  1707.   files.  My own personal use of FAC goes far beyond just using it to hunt
  1708.   down area codes.  Here's what I do.
  1709.  
  1710.   I have (you probably do, too if you're any kind of computer nut) a
  1711.   database of friends and relatives with which I maintain a quick reference
  1712.   phone list.  Periodically, I use my database program to generate a report
  1713.   which I print to disk.  The report looks something like this:
  1714.  
  1715.   John Doe  555-555-5555  1234 Anywhere St., Anyplace, CO  12345
  1716.   Joe's Software Shoppe     555-1234  (open 24 hours)
  1717.   Jay's Hardware Emporium   555-9876  (Closes at 6pm)
  1718.   Jim Smith                 555-0000  (Keep trying; has teenagers)
  1719.   ...
  1720.   (you get the idea)
  1721.  
  1722.   I use an editor to paste the ASCII information into the MY-DATA.DAT file
  1723.   and presto, I have a 7K popup database of our family and friends which I
  1724.   can easily add to using the F5 key!  It can be anywhere in the file, in
  1725.   any format, in any order since every character of the entire file is
  1726.   searched every time.
  1727.  
  1728.   When you combine this information in your external datafile with the F5
  1729.   key's ability to add information on the fly, you have a very powerful,
  1730.   yet simple little database.
  1731.  
  1732.   Obviously, if you change the data file to reflect your own data, it
  1733.   could be used for almost anything.  Just remember, the program is
  1734.   line-oriented--all the information for one "record" must be on the same
  1735.   line.  Each line in the data file is limited to 119 characters.  If lines
  1736.  
  1737.   -------
  1738.   Page 30
  1739.  
  1740.    Find Area Code Documentation
  1741.   ----------------------------
  1742.  
  1743.  
  1744.   are longer than 119 characters, they'll be truncated when they are
  1745.   displayed.  The program will automatically wordwrap lines of up to 119
  1746.   characters when the "record" is displayed.
  1747.  
  1748.   I guess the way I use FAC makes it kind of a "poor man's personal
  1749.   information manager (PIM)".  I've found that FAC is far superior to LIST
  1750.   and other text file handling programs when it comes to ease of use,
  1751.   search speed, and the ability to be memory resident.
  1752.  
  1753.   FAC certainly isn't offered as any kind of free format database package,
  1754.   but I think it bridges an important gap between a full-blown database
  1755.   application and a tattered piece of paper taped above your computer desk.
  1756.   I think this capability gives FAC significant "value added."  I hope you
  1757.   agree and see this as another reason to support the program with your
  1758.   registration.
  1759.  
  1760.   Here's another very powerful use of the program.  I have a large Paradox
  1761.   database with several fields, all of which I need to be able to search
  1762.   on.  With Paradox, I have to move the cursor to the field, type in an
  1763.   exact match (or a wildcard match), then wait for the search to complete
  1764.   (this is a very long wait for a wildcard search).  Well, I developed a
  1765.   Paradox report which writes the fields I want to search on to a text
  1766.   file, then I use FAC to search that text file.  This allows me to search
  1767.   for customer numbers, for example, by using part of a name, phone number,
  1768.   city, state or zip code.  Or if I want all the customers in a certain
  1769.   city, or that begin with the same first name.  Using this approach
  1770.   (admittedly, on my fastest computer), a typical wildcard search across
  1771.   more than 14,000 records takes only 1.1 seconds, while the same search
  1772.   takes over 9 seconds using Paradox!
  1773.  
  1774.   Use your imagination!  One user of FAC uses it to look up Portuguese
  1775.   words and phrases he entered in a data file!  Another uses it to look up
  1776.   phrases.  I sometimes use it to search BBS listings.  If you come up with
  1777.   radical or useful new applications for Find Area Code "engine", please
  1778.   let me know.
  1779.  
  1780.  
  1781.   Final Remarks
  1782.   -------------
  1783.  
  1784.   Many thanks to my wife, Bobbea, for her friendship, love, and support in
  1785.   every aspect of my life.  Thanks to Tom Gettys and George Clifford for
  1786.   their valuable beta test feedback and for having the best BBSs in
  1787.   Colorado!  Thanks to members of the Association of Shareware
  1788.   Professionals, especially Paul Mayer and Bob Falk for advice on shareware
  1789.   and for some of the boilerplate text for the documentation.
  1790.  
  1791.   I also very much appreciate the support and suggestions of all of FAC's
  1792.   registered users.  They are truly defining where this program is going!
  1793.  
  1794.  
  1795.   -------
  1796.   Page 31
  1797.  
  1798.    Find Area Code Documentation
  1799.   ----------------------------
  1800.  
  1801.  
  1802.   I've made every effort to provide the correct area codes and foreign
  1803.   country city codes.  If you find errors or additions, please let me know.
  1804.  
  1805.   NOTE: Your registration and support for this program will enable me to
  1806.   continue to develop FAC and add other valuable features in future
  1807.   versions.  Please continue to tell me what you want!
  1808.  
  1809.   If FAC doesn't do what you think it should, or you'd like for it to do
  1810.   something else, I would be happy to develop a customized version of the
  1811.   program for anyone who wants one (for a reasonable fee).  I'd appreciate
  1812.   bug reports, new feature requests, comments, performance problems,
  1813.   criticism, suggestions, additions, and/or corrections regarding Find Area
  1814.   Code.
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.   -------
  1854.   Page 32
  1855.  
  1856.    Find Area Code Documentation
  1857.   ----------------------------
  1858.  
  1859.  
  1860.                  Quick Reference List of FAC Switch Options
  1861.                  ------------------------------------------
  1862.  
  1863.   /A               When used with /I & disk swapping, don't use
  1864.                    hidden/system attributes on swap files
  1865.   /B               Don't use color screen attributes; use monochrome (black
  1866.                    & white) only
  1867.   /C               Use the normal (am/pm) clock format in the on-screen
  1868.                    clock (rather than the 24-hour format.
  1869.   /Dfilename.ext   Use the specified file name as the external data file to
  1870.                    search/add to
  1871.   /E               When used with /I, don't use Expanded Memory (EMS) even
  1872.                    if it's available; use disk swapping
  1873.   /F               Enables "fuzzy search" mode to find sound-alike,
  1874.                    approximate spellings
  1875.   /G               When used with /I, don't read text from screen
  1876.   /H               Show a help screen of options & descriptions
  1877.   /I               Loads popup/TSR with defaults:
  1878.                      - Swap using EMS memory (or disk if no EMS)
  1879.                      - Swapping messages on (if using disk)
  1880.                      - Swap files have hidden/system attributes
  1881.                      - Swap file path = same path FAC.DAT found on
  1882.                      - Exploding windows on
  1883.                      - AutoZoom is On
  1884.                      - Read search string from screen
  1885.                      - Add/search the external datafile "MY-DATA.DAT"
  1886.                      - Use <Alt><LeftShift><F> for the hotkey
  1887.   /K               When used with /I, reassigns TSR hotkey
  1888.   /M               When used with /I; suppresses swapping messages
  1889.   /N               When used with /I, loads popup; no swapping (instant
  1890.                    popup mode, but requires 140K RAM)
  1891.   /Pc:\temp        When used with /I, loads popup: path for swap files =
  1892.                    c:\temp; Specify RAM disk if possible
  1893.   /T               Don't use the AutoZoom feature
  1894.   /U               If installed as a TSR, unloads popup from memory, if
  1895.                    possible; deletes swap files
  1896.   /X               Don't use exploding windows
  1897.   /Y               Search ZIPCODES.DAT if it exists on the path
  1898.   /Z               Use a "zoomed" window which uses the full screen
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.   -------
  1912.   Page 33
  1913.  
  1914.    Find Area Code Documentation
  1915.   ----------------------------
  1916.  
  1917.  
  1918.                          Scan Code Table for Hotkeys
  1919.                          ---------------------------
  1920.  
  1921.                            Hex                               Hex
  1922.                    Key     Code                    Key       Code
  1923.                    ---     ----                    ---       ----
  1924.                    Esc      01                       Q        10
  1925.                    ! 1      02                       W        11
  1926.                    @ 2      03                       E        12
  1927.                    # 3      04                       R        13
  1928.                    $ 4      05                       T        14
  1929.                    % 5      06                       Y        15
  1930.                    ^ 6      07                       U        16
  1931.                    & 7      08                       I        17
  1932.                    * 8      09                       O        18
  1933.                    ( 9      0A                       P        19
  1934.                    ) 0      0B                       { [      1A
  1935.                    _ -      0C                       } ]      1B
  1936.                    + =      0D                       ENTER    1C
  1937.                    BkSp     0E                       | \      2B
  1938.                    Ctrl     1D
  1939.                    A        1E                       Z        2C
  1940.                    S        1F                       X        2D
  1941.                    D        20                       C        2E
  1942.                    F        21                       V        2F
  1943.                    G        22                       B        30
  1944.                    H        23                       N        31
  1945.                    J        24                       M        32
  1946.                    K        25                       < ,      33
  1947.                    L        26                       > .      34
  1948.                    : ;      27                       ? /      35
  1949.                    " '      28               RightShift       36
  1950.                    ~ `      29                    PrtSc*      37
  1951.              LeftShift      2A                    Alt         38
  1952.                  Space      39                    7 Home      47
  1953.               CapsLock      3A                    8 UpArw     48
  1954.                   F1        3B                    9 PgUp      49
  1955.                   F2        3C                    Minus sign  4A
  1956.                   F3        3D                    4 Left Arw  4B
  1957.                   F4        3E                    5           4C
  1958.                   F5        3F                    6 RightArw  4D
  1959.                   F6        40                    +           4E
  1960.                   F7        41                    1 End       4F
  1961.                   F8        42                    2 Down Arw  50
  1962.                   F9        43                    3 PgDn      51
  1963.                  F10        44                    0 Ins       52
  1964.          Scroll Lock        46                    Del         53
  1965.       Left/Right Tab        0F                    Num Lock    45
  1966.  
  1967.  
  1968.  
  1969.   -------
  1970.   Page 34
  1971.  
  1972.